package com.cqut.hfh.ordering.service;

import com.cqut.hfh.ordering.pojo.FoodMerchant;
import com.cqut.hfh.ordering.pojo.FoodMerchantVo;

import java.util.List;
import java.util.Map;

/**
 * create by gtt on 2019/6/25
 */
public interface IMerchantService {
    List<Map<String, Object>> getMerchant(String limit, String page);

    Integer getCount();

    List<Map<String, Object>> getMerchantsByName(String limit, String page, String merchant_name);

    int delByMerchantId(String merchantId);

    Map<String, Object> findById(String merchantId);

    int updateMerchant(FoodMerchant merchant, String pic_site);

    int saveFoodMerchant(FoodMerchant merchant, String pic_site);
}
